
#ifndef session_hpp__
#define session_hpp__


namespace rpc { namespace services {

class session
{
  /// Constructor.
public:
	session() {}

public:
	virtual void write(rpc::protocol::message& msg) = 0;
	virtual void read(rpc::protocol::message& msg) = 0;
};

} } // namespace services } namespace rpc

namespace rpc {
	typedef boost::shared_ptr<rpc::services::session> session_ptr;
}

#endif // session_hpp__